package com.liu.mysqldemo.dao;

import com.liu.mysqldemo.entity.Cosumers;
import com.liu.mysqldemo.entity.Person;

import java.util.List;

public interface CosumersMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Cosumers record);

    int insertSelective(Cosumers record);

    Cosumers selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Cosumers record);

    int updateByPrimaryKey(Cosumers record);

    /**
     * 查找分页--通过service+分页插件完成
     */
    List<Cosumers> findAllpersonBypage();
}